﻿@model IndoReputation.Views.ViewModels.MediaViewModel

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Create</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>MediaViewModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.MediaCategoryID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MediaCategoryID)
            @Html.ValidationMessageFor(model => model.MediaCategoryID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ChiefEditorName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ChiefEditorName)
            @Html.ValidationMessageFor(model => model.ChiefEditorName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ChiefEditorMobile)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ChiefEditorMobile)
            @Html.ValidationMessageFor(model => model.ChiefEditorMobile)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ChiefEditorEmail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ChiefEditorEmail)
            @Html.ValidationMessageFor(model => model.ChiefEditorEmail)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddStreetName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddStreetName)
            @Html.ValidationMessageFor(model => model.AddStreetName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddStreetNumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddStreetNumber)
            @Html.ValidationMessageFor(model => model.AddStreetNumber)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddBuildingName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddBuildingName)
            @Html.ValidationMessageFor(model => model.AddBuildingName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddCity)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddCity)
            @Html.ValidationMessageFor(model => model.AddCity)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddCountry)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddCountry)
            @Html.ValidationMessageFor(model => model.AddCountry)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddPhone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddPhone)
            @Html.ValidationMessageFor(model => model.AddPhone)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddFax)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddFax)
            @Html.ValidationMessageFor(model => model.AddFax)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddEmail)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddEmail)
            @Html.ValidationMessageFor(model => model.AddEmail)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AddWebsite)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AddWebsite)
            @Html.ValidationMessageFor(model => model.AddWebsite)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FirstTimeLaunched)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FirstTimeLaunched)
            @Html.ValidationMessageFor(model => model.FirstTimeLaunched)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TotalPublishedDaily)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TotalPublishedDaily)
            @Html.ValidationMessageFor(model => model.TotalPublishedDaily)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TotalViewersDaily)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TotalViewersDaily)
            @Html.ValidationMessageFor(model => model.TotalViewersDaily)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ViewerTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ViewerTypeID)
            @Html.ValidationMessageFor(model => model.ViewerTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TotalUsers)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TotalUsers)
            @Html.ValidationMessageFor(model => model.TotalUsers)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OwnershipTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OwnershipTypeID)
            @Html.ValidationMessageFor(model => model.OwnershipTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OrientationTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OrientationTypeID)
            @Html.ValidationMessageFor(model => model.OrientationTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsFreedom)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsFreedom)
            @Html.ValidationMessageFor(model => model.IsFreedom)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StrFreedom)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StrFreedom)
            @Html.ValidationMessageFor(model => model.StrFreedom)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StrongInfluenceTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StrongInfluenceTypeID)
            @Html.ValidationMessageFor(model => model.StrongInfluenceTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RankTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RankTypeID)
            @Html.ValidationMessageFor(model => model.RankTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateAt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateAt)
            @Html.ValidationMessageFor(model => model.CreateAt)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateBy)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateBy)
            @Html.ValidationMessageFor(model => model.CreateBy)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsEnable)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsEnable)
            @Html.ValidationMessageFor(model => model.IsEnable)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
